import Vue from 'vue';
import Vuex from 'vuex';
import mutations from './mutations';
// import menu from './modules/router';
Vue.use(Vuex);

const Store = new Vuex.Store({
    state: {
        count: 0,
        // 路由的参数
        router: {
            routerData: [],
            currentRoute: null
        }
    },
    mutations,
    modules: {}
});

export default Store;
